<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>SESSION信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/css/okadmin.css">
    <link rel="stylesheet" href="/font/iconfont.css">
</head>
<body>
<div class="ok-body">
    <!--面包屑导航区域-->
    <div class="ok-body-breadcrumb">
        <span class="layui-breadcrumb">
            <a><cite>首页</cite></a>
            <a><cite>监控管理</cite></a>
            <a><cite>服务端列表</cite></a>
            <a><cite>SESSION信息</cite></a>
        </span>
        <a class="layui-btn layui-btn-sm" href="javascript:location.replace(location.href);" title="刷新">
            <i class="layui-icon layui-icon-refresh"></i>
        </a>
    </div>
    <!--form表单-->
    <form class="layui-form layui-form-pane ok-form">
        <div class="layui-form-item">
            <label class="layui-form-label">SESSIONID</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${sessionId}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${creationTime}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">有效时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${maxInactiveInterval}" >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">最后操作</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${lastAccessedTime}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">过期时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${invalidSessionTime}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">浏览器</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${browser}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">操作系统</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${operatingSystem}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">当前用户</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" th:value="${session.user.username}">
            </div>
        </div>
    </form>
</div>
<!--js逻辑-->
<script src="/lib/layui/layui.js"></script>
<script>
    layui.use(["element"], function () {
    })
</script>
</body>
</html>
